<?php

$error_url = base_url('error');
$images_url = base_url('images');
$main_url = base_url('main');
$verify_url = base_url('verify');

require "./lib/src/skey.php";
require_once "./lib/recaptcha/recaptchalib.php";
require "./lib/src/recaptchakey.php";

if(empty($pesan) OR empty($email))
{
	$pesan = '';
	$email = '';
}

$isipage = '
	<div id="login">
				
		<div class="space"></div>
		<div id="login2">
			<div class="title"><span style="margin-top:10px">Reset Password</span></div>
			<div id="login3">
				<form action="'.$verify_url.'/updatepass" method="post" >
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">
							<h3>Masukan Password Baru!</h3> <br />
							<h2 style="color:red">'.$pesan.'</h2>
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp; Password baru</li>
						<li class="right">
							<input name="password" type="password" autocomplete="off" />
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp; Password baru (konfirmasi)</li>
						<li class="right">
							<input name="password2" type="password" autocomplete="off" />
						</li>
					</ul>
					<ul>
						<li class="left"> &nbsp; </li>
						<li class="right"> &nbsp; </li>
					</ul>
					<ul>
						<li class="left">&nbsp; Captcha</li>
						<li class="right">'.recaptcha_get_html($publickey).'</li>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">
							<input name="email" type="email" value="'.$email.'" />
							<input type="submit" name="kirim" value="UBAH PASSWORD" />
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">
						<a href="'.base_url('main/login.html').'">Login</a> | 
						<a href="'.base_url('main/daftar.html').'">Belum Daftar?</a>
						</li>
					</ul>
					<ul>
						<li class="left">&nbsp;</li>
						<li class="right">&nbsp;</li>
					</ul>
				</form>
			</div>
		</div>
		

		<div class="space"></div>

	</div>
';

$data = array(
	'site_title' => 'Reset Password - DadanNetwork.com',
	'base_url' => base_url(),
	'other_head' => '' ,
	'isi_page' => $isipage,
	'tahun_sekarang' => date("Y")
);
$this->parser->parse('template/login', $data);

/* End of file lostpass.php */
/* Location: ./application/views/lostpass.php */
